crypto/internal/fips140/sha3.Digest.rate (field)
22 uses
crypto/internal/fips140/sha3 (current package)
hashes.go#L9: return &Digest{rate: rateK448, outputLen: 28, dsbyte: dsbyteSHA3}
hashes.go#L14: return &Digest{rate: rateK512, outputLen: 32, dsbyte: dsbyteSHA3}
hashes.go#L19: return &Digest{rate: rateK768, outputLen: 48, dsbyte: dsbyteSHA3}
hashes.go#L24: return &Digest{rate: rateK1024, outputLen: 64, dsbyte: dsbyteSHA3}
hashes.go#L52: return &Digest{rate: rateK512, outputLen: 32, dsbyte: dsbyteKeccak}
hashes.go#L58: return &Digest{rate: rateK1024, outputLen: 64, dsbyte: dsbyteKeccak}
sha3.go#L35: n, rate int
sha3.go#L56: func (d *Digest) BlockSize() int { return d.rate }
sha3.go#L93: d.a[d.rate-1] ^= 0x80
sha3.go#L109: x := subtle.XORBytes(d.a[d.n:d.rate], d.a[d.n:d.rate], p)
sha3.go#L114: if d.n == d.rate {
sha3.go#L134: if d.n == d.rate {
sha3.go#L138: x := copy(out, d.a[d.n:d.rate])
sha3.go#L193: b = append(b, byte(d.rate))
sha3.go#L217: if rate != d.rate {
sha3.go#L225: if n > d.rate {
shake.go#L51: c := &SHAKE{d: Digest{rate: rate, outputLen: outputLen, dsbyte: dsbyte}}
shake.go#L57: c.Write(bytepad(c.initBlock, c.d.rate))
shake.go#L85: s.Write(bytepad(s.initBlock, s.d.rate))
shake.go#L121: return &SHAKE{d: Digest{rate: rateK256, outputLen: 32, dsbyte: dsbyteShake}}
shake.go#L126: return &SHAKE{d: Digest{rate: rateK512, outputLen: 64, dsbyte: dsbyteShake}}